<script type="text/javascript">
	$(function() {
		$('#roomImportForm').form({
			onSubmit : function() {
// 				var isValid = $(this).form('validate');
// 				alert(isValid);
				return true;
			},
			success : function(result) {
				result = $.parseJSON(result);
				if (result.success){
                	showMsg(result.msg);
                	reloadRoom();
                } else {
                	alertMsg(result.msg);
                }
			}
		});
	});
</script>
<form id="roomImportForm" action="room.do?importRoomTempate" method="post" enctype="multipart/form-data">
	<table cellpadding="5">
		<tr>
			<td colspan="2">
				
			</td>
		</tr>
		<tr>
			<td>模版文件:</td>
			<td>
				<input type="file" name="roomTemplateFile" id="roomTemplateFile" />
			</td>
		</tr>
	</table>
</form>